package cn.edu.scau.cmi.wangshuhong.composite;

import java.util.ArrayList;

public abstract class TransparentComponent {
	protected String name;
	public TransparentComponent(String name){
		this.name=name;
	}
	public TransparentComponent(){
		
	}
	public String getName(){
		return this.name;
	}
	public void setName(String name){
		this.name=name;
	}
	public abstract void add(TransparentComponent a);
	public abstract void remove(TransparentComponent b);
	//public abstract void getChild();
	protected ArrayList<TransparentComponent>  Al;
	public ArrayList<TransparentComponent> getArrayList(){
		return Al;
	}
	public abstract String message();
	public abstract String displayMember();
}
